import { HintIcon } from "../uiIconBtn/HintIcon";
import { Dispatcher } from "../../../mvc/core/Dispatcher";
import { DataEvent } from "../../events/DataEvent";
import { EventName } from "../../mvc/EventName";
type int = number;
//class NpcAwardHintIcon
    
    export  class NpcAwardHintIcon extends HintIcon
    {
        constructor(arg1: string=null, arg2: Boolean=true)
        {
            super(arg1, arg2);
            return;
        }

        public set npcId(arg1: int)
        {
            this._npcId = arg1;
            return;
        }

        protected /* override */ onHintIconClickHandler(arg1: Object /* flash.events.MouseEvent */): void
        {
            super.onHintIconClickHandler(arg1);
            Dispatcher.dispatchEvent(new DataEvent(EventName.NpcAwardShowTips, this._npcId));
            return;
        }

        /* internal */ /* var */_npcId: int;
    }
